[INFO] cloning repository https://github.com/pantharshit00/tcp-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pantharshit00/tcp-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpantharshit00%2Ftcp-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpantharshit00%2Ftcp-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 29e2a5b353ea39d11c01d82f9b0931189fc3fdda
[INFO] checking pantharshit00/tcp-rust against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpantharshit00%2Ftcp-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/pantharshit00/tcp-rust
[INFO] finished tweaking git repo https://github.com/pantharshit00/tcp-rust
[INFO] tweaked toml for git repo https://github.com/pantharshit00/tcp-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pantharshit00/tcp-rust on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pantharshit00/tcp-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ioctl-sys v0.5.2
[INFO] [stderr]   Downloaded tun v0.5.0
[INFO] [stderr]   Downloaded etherparse v0.9.0
[INFO] [stderr]   Downloaded thiserror-impl v1.0.15
[INFO] [stderr]   Downloaded thiserror v1.0.15
[INFO] [stderr]   Downloaded syn v1.0.18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 826b79c2d8a360182c85a4a98947af6ba56411ceb6ac65a6266e4a9d1544dd10
[INFO] running `Command { std: "docker" "start" "-a" "826b79c2d8a360182c85a4a98947af6ba56411ceb6ac65a6266e4a9d1544dd10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "826b79c2d8a360182c85a4a98947af6ba56411ceb6ac65a6266e4a9d1544dd10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "826b79c2d8a360182c85a4a98947af6ba56411ceb6ac65a6266e4a9d1544dd10", kill_on_drop: false }`
[INFO] [stdout] 826b79c2d8a360182c85a4a98947af6ba56411ceb6ac65a6266e4a9d1544dd10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0df683b824cf1c3ae186c71d6c79ca855c5f495bb29202e1f1c662363c22a147
[INFO] running `Command { std: "docker" "start" "-a" "0df683b824cf1c3ae186c71d6c79ca855c5f495bb29202e1f1c662363c22a147", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.18
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking ioctl-sys v0.5.2
[INFO] [stderr]     Checking etherparse v0.9.0
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.15
[INFO] [stderr]     Checking thiserror v1.0.15
[INFO] [stderr]     Checking tun v0.5.0
[INFO] [stderr]     Checking trust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/tcp.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/tcp.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/tcp.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         data: &[u8],
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tcp.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let mut c = Connection {
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nic`
[INFO] [stdout]    --> src/tcp.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         nic: &mut dyn tun::Device,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_nic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iph`
[INFO] [stdout]    --> src/tcp.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         iph: etherparse::Ipv4HeaderSlice,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_iph`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tcph`
[INFO] [stdout]    --> src/tcp.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |         tcph: etherparse::TcpHeaderSlice,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_tcph`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/tcp.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         data: &[u8],
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Closed` is never constructed
[INFO] [stdout]  --> src/tcp.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum State {
[INFO] [stdout]   |          ----- variant in this enum
[INFO] [stdout] 3 |     Closed,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `state` is never read
[INFO] [stdout]   --> src/tcp.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Connection {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 10 |     state: State,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `una`, `nxt`, `up`, `wl1`, and `wl2` are never read
[INFO] [stdout]   --> src/tcp.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct SendSequence {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] 16 |     una: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     nxt: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 18 |     wnd: u16,
[INFO] [stdout] 19 |     up: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 20 |     wl1: usize,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 21 |     wl2: usize,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `wnd`, `up`, and `irs` are never read
[INFO] [stdout]   --> src/tcp.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct RecvSequenceSpace {
[INFO] [stdout]    |        ----------------- fields in this struct
[INFO] [stdout] 26 |     nxt: u32,
[INFO] [stdout] 27 |     wnd: u16,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 28 |     up: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 29 |     irs: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/tcp.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |         data: &[u8],
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tcp.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let mut c = Connection {
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nic`
[INFO] [stdout]    --> src/tcp.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         nic: &mut dyn tun::Device,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_nic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iph`
[INFO] [stdout]    --> src/tcp.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         iph: etherparse::Ipv4HeaderSlice,
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_iph`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tcph`
[INFO] [stdout]    --> src/tcp.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |         tcph: etherparse::TcpHeaderSlice,
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_tcph`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/tcp.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |         data: &[u8],
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Closed` is never constructed
[INFO] [stdout]  --> src/tcp.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub enum State {
[INFO] [stdout]   |          ----- variant in this enum
[INFO] [stdout] 3 |     Closed,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `state` is never read
[INFO] [stdout]   --> src/tcp.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | pub struct Connection {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 10 |     state: State,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `una`, `nxt`, `up`, `wl1`, and `wl2` are never read
[INFO] [stdout]   --> src/tcp.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct SendSequence {
[INFO] [stdout]    |        ------------ fields in this struct
[INFO] [stdout] 16 |     una: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     nxt: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 18 |     wnd: u16,
[INFO] [stdout] 19 |     up: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 20 |     wl1: usize,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 21 |     wl2: usize,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `wnd`, `up`, and `irs` are never read
[INFO] [stdout]   --> src/tcp.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct RecvSequenceSpace {
[INFO] [stdout]    |        ----------------- fields in this struct
[INFO] [stdout] 26 |     nxt: u32,
[INFO] [stdout] 27 |     wnd: u16,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 28 |     up: bool,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 29 |     irs: u32,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.61s
[INFO] running `Command { std: "docker" "inspect" "0df683b824cf1c3ae186c71d6c79ca855c5f495bb29202e1f1c662363c22a147", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0df683b824cf1c3ae186c71d6c79ca855c5f495bb29202e1f1c662363c22a147", kill_on_drop: false }`
[INFO] [stdout] 0df683b824cf1c3ae186c71d6c79ca855c5f495bb29202e1f1c662363c22a147
